﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000FF1 RID: 4081
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournDeleteArchiveScRsp : IMessage<RogueTournDeleteArchiveScRsp>, IMessage, IEquatable<RogueTournDeleteArchiveScRsp>, IDeepCloneable<RogueTournDeleteArchiveScRsp>, IBufferMessage
	{
		// Token: 0x170033A4 RID: 13220
		// (get) Token: 0x0600B692 RID: 46738 RVA: 0x001ED071 File Offset: 0x001EB271
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournDeleteArchiveScRsp> Parser
		{
			get
			{
				return RogueTournDeleteArchiveScRsp._parser;
			}
		}

		// Token: 0x170033A5 RID: 13221
		// (get) Token: 0x0600B693 RID: 46739 RVA: 0x001ED078 File Offset: 0x001EB278
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournDeleteArchiveScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170033A6 RID: 13222
		// (get) Token: 0x0600B694 RID: 46740 RVA: 0x001ED08A File Offset: 0x001EB28A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournDeleteArchiveScRsp.Descriptor;
			}
		}

		// Token: 0x0600B695 RID: 46741 RVA: 0x001ED091 File Offset: 0x001EB291
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournDeleteArchiveScRsp()
		{
		}

		// Token: 0x0600B696 RID: 46742 RVA: 0x001ED099 File Offset: 0x001EB299
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournDeleteArchiveScRsp(RogueTournDeleteArchiveScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.maxTimes_ = other.maxTimes_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B697 RID: 46743 RVA: 0x001ED0CA File Offset: 0x001EB2CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournDeleteArchiveScRsp Clone()
		{
			return new RogueTournDeleteArchiveScRsp(this);
		}

		// Token: 0x170033A7 RID: 13223
		// (get) Token: 0x0600B698 RID: 46744 RVA: 0x001ED0D2 File Offset: 0x001EB2D2
		// (set) Token: 0x0600B699 RID: 46745 RVA: 0x001ED0DA File Offset: 0x001EB2DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170033A8 RID: 13224
		// (get) Token: 0x0600B69A RID: 46746 RVA: 0x001ED0E3 File Offset: 0x001EB2E3
		// (set) Token: 0x0600B69B RID: 46747 RVA: 0x001ED0EB File Offset: 0x001EB2EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MaxTimes
		{
			get
			{
				return this.maxTimes_;
			}
			set
			{
				this.maxTimes_ = value;
			}
		}

		// Token: 0x0600B69C RID: 46748 RVA: 0x001ED0F4 File Offset: 0x001EB2F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournDeleteArchiveScRsp);
		}

		// Token: 0x0600B69D RID: 46749 RVA: 0x001ED102 File Offset: 0x001EB302
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournDeleteArchiveScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.MaxTimes == other.MaxTimes && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B69E RID: 46750 RVA: 0x001ED140 File Offset: 0x001EB340
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.MaxTimes != 0U)
			{
				num ^= this.MaxTimes.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B69F RID: 46751 RVA: 0x001ED198 File Offset: 0x001EB398
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B6A0 RID: 46752 RVA: 0x001ED1A0 File Offset: 0x001EB3A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B6A1 RID: 46753 RVA: 0x001ED1AC File Offset: 0x001EB3AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MaxTimes != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.MaxTimes);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B6A2 RID: 46754 RVA: 0x001ED208 File Offset: 0x001EB408
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.MaxTimes != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MaxTimes);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B6A3 RID: 46755 RVA: 0x001ED260 File Offset: 0x001EB460
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournDeleteArchiveScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.MaxTimes != 0U)
			{
				this.MaxTimes = other.MaxTimes;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B6A4 RID: 46756 RVA: 0x001ED2B0 File Offset: 0x001EB4B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B6A5 RID: 46757 RVA: 0x001ED2BC File Offset: 0x001EB4BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 48U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.MaxTimes = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040049CB RID: 18891
		private static readonly MessageParser<RogueTournDeleteArchiveScRsp> _parser = new MessageParser<RogueTournDeleteArchiveScRsp>(() => new RogueTournDeleteArchiveScRsp());

		// Token: 0x040049CC RID: 18892
		private UnknownFieldSet _unknownFields;

		// Token: 0x040049CD RID: 18893
		public const int RetcodeFieldNumber = 6;

		// Token: 0x040049CE RID: 18894
		private uint retcode_;

		// Token: 0x040049CF RID: 18895
		public const int MaxTimesFieldNumber = 3;

		// Token: 0x040049D0 RID: 18896
		private uint maxTimes_;
	}
}
